.header {
  width: 100%;
  height: 80px;
  background: var(--bgfff);
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.07);
  position: sticky;
  top: 0;
  z-index: 10;

  >nav {
    margin: 0 auto;
    width: var(--pagewidth);
    display: flex;
    align-items: center;
    height: 100%;

    .logo {
      width: 214px;
      margin-right: 39px;

      display: inline-block;

      >img {
        width: 100%;
        object-fit: cover;
      }
    }

    .navlink {
      display: flex;
      flex: 1;
      margin: 0;
      height: 100%;
      align-content: center;

      >a,
      >span {
        font-size: 18px;
        font-family: PingFangSC-Medium, PingFang SC;
        font-weight: 500;
        color: var(--font333);
        line-height: 25px;
        height: 80px;
        display: flex;
        align-items: center;
        margin-left: 44px;

        &:first-child {
          margin-left: 0;
        }

        &.active {
          color: var(--theme);
          position: relative;

          &::after {
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 31px;
            height: 4px;
            background: var(--theme);
            content: '';
          }
        }
      }
    }
  }


}

.linktype {
  :global(.ant-popover-inner-content) {
    padding: 18px 15px;

  }

  .card {
    width: 190px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 15px 10px;
    justify-content: center;

    >a {
      height: 25px;
      background: var(--bgcolor);
      border-radius: 12px;
      display: flex;
      justify-content: center;
      align-items: center;
      font-size: 12px;
      font-family: PingFangSC-Regular, PingFang SC;
      font-weight: 400;
      color: var(--font999);
      cursor: pointer;
      transition: all 0.3s;

      &:hover {
        color: #fff;
        background-color: var(--theme);
      }
    }
  }
}


.h5Nav {
  width: 7.5rem;
  background-color: var(--bgfff);
  position: sticky;
  top: 0;
  z-index: 2;
  line-height: 1;

  a {
    color: var(--font333);
  }

  :global(.adm-tabs-tab-active)>a {
    color: var(--theme);
  }

  :global(.adm-capsule-tabs-header) {
    --adm-color-background: var(--theme);
    padding: 0.28rem 0.24rem;
    background-color: var(--theme);

    :global(.adm-capsule-tabs-tab) {
      padding: 0.02rem 0.16rem;
      font-size: 0.28rem;
      color: #fff;
      background-color: var(--theme);

      a {
        color: inherit;
        line-height: 0.4rem;
      }
    }

    :global(.adm-capsule-tabs-tab-active) {
      background-color: var(--bgfff);
      color: var(--theme);
    }
  }

  :global(.adm-capsule-tabs-content) {
    padding: 0;

    :global(.adm-tabs-tab) {
      font-size: 0.24rem;
    }
  }

  >a {
    width: 100%;
    display: flex;
    padding: 0.2rem;
    align-items: center;
    justify-content: space-between;
    background: var(--bgfff);

    >img {
      width: 2.58rem;
    }

    >span {
      width: 1.70rem;
      height: 0.56rem;
      background: #DAB500;
      border-radius: 0.28rem;
      display: flex;
      justify-content: center;
      align-items: center;
      font-size: 0.24rem;
      font-family: PingFangSC-Regular, PingFang SC;
      font-weight: 400;
      color: var(--fontfff);
    }
  }
}